From 4e0ac72bf25e18f373653134ce5822cb60423aef Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sun, 14 May 2017 10:36:01 -0700 Subject: [PATCH] Don't try to reach example.com in a test Instead specify localhost --- tests/bad-config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/bad-config.rs b/tests/bad-config.rs index f82495cc2..af3ce725e 100644 --- a/tests/bad-config.rs +++ b/tests/bad-config.rs @@ -691,7 +691,7 @@ fn ambiguous_git_reference() { authors = [] [dependencies.bar] - git = "https://example.com" + git = "https://127.0.0.1" branch = "master" tag = "some-tag" "#) @@ -865,7 +865,7 @@ fn both_git_and_path_specified() { authors = [] [dependencies.bar] - git = "https://example.com" + git = "https://127.0.0.1" path = "bar" "#) .file("src/lib.rs", ""); -- 2.30.2